package com.castudio.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.castudio.Common.RespPageEntity;
import com.castudio.Entity.Image;
import com.castudio.Entity.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小陈同学
 * @since 2023-03-25
 */
public interface ImageService extends IService<Image> {
    RespPageEntity getAllImage(Integer page, Integer size, String name);

    void save(String fileUrl, String name);
    IPage<Image> getPage(Integer currentPage, Integer PageSize, Image image);

    IPage<Image> getPage(Integer currentPage, Integer pageSize);
}
